package com.piece.core.web.constants;

/**
 * WebSocket公共变量
 */
public interface WsConstants {

    /**
     * 访问前缀路径
     */
    String WS_PREFIX = "/api/websocket";

    /**
     * 连接主题
     */
    String WS_TOPIC = "/topic";

    /**
     * 发送节点(stomp节点)
     */
    String ENDPOINT_STOMP = "/stomp";

    /**
     * 发送节点(websocket节点)
     */
    String ENDPOINT_SOCKET = "/api/socket";
}
